<!DOCTYPE html>
<html>
    <div id="foo"></div>
    <script>
        foo.animate([{ margin: "revert" }, { margin: "0" }], 1000);
    </script>
</html>
